//
//  TLLoadControl.h
//  FunnyVideo
//
//  Created by 李鑫 on 15/8/20.
//  Copyright © 2015年 NewEggTech. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


typedef enum : NSUInteger {
    TLControlStateBegin,
    TLControlStateLoading,
    TLControlStateEnd
} TLControlState;

typedef void (^TLControlStatusCallBack)(TLControlState controlState);
@interface TLLoadControl : NSObject<UIScrollViewDelegate>

- (id)initWithScrollView:(UIScrollView *)scrollView;

- (void)statusCallBack:(TLControlStatusCallBack)block;

- (void)stop;

- (void)scrollViewDidScroll:(nonnull UIScrollView *)scrollView;
@end
